package com.ming.service;

import com.ming.mapper.CustomMapper;
import com.ming.pojo.Custom;

import javax.annotation.Resource;
import java.util.List;

public class CustomService implements CustomMapper {

    @Resource
    private CustomMapper customMapper;
    @Override
    public List<Custom> searchAllCustom() {
        return customMapper.searchAllCustom();
    }

    @Override
    public List<Custom> searchCustomByName(String customName) {
        return customMapper.searchCustomByName(customName);
    }
}
